<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@page import="com.lovo.bbs.vo.*,java.util.*"%>

<%
    String type="";
	if(session.getAttribute("moderator")!=null){
	    type="版主";
	}else if(session.getAttribute("admin")!=null){
	    type="管理员";
	}
	LoginVo loginvo = (LoginVo)session.getAttribute("loginvo");
	String theName = loginvo.getUserName();
 %>
<html>
	<head>
		<link rel="StyleSheet" href="../css/dtree.css" type="text/css" />
		<script type="text/javascript" src="../js/dtree.js"></script>
	</head>
	<body leftmargin="0">
		<script type="text/javascript">
		<!--
		d = new dTree('d');
		var target = 'mainFrame';

		d.add(0,-1,'<%=type%>:<%=theName %>', 'main.jsp', '', target);
		
		d.add(1,0,'论坛综合管理');
		d.add(102,1,'版块管理','forummanage/boardmanage/boardManageQueryPage.jsp', '', target);
		d.add(104,1,'论坛管理','forummanage/forummanage/forumManageQueryPage.jsp', '', target);
		d.add(106,1,'友情链接管理','forummanage/friendforum/friendForumQueryPage.jsp', '', target);

		d.add(4,0,'主题帖子管理');
		d.add(400,4,'主题管理','topicpost/topicmanage/topicManageQueryPage.jsp', '', target);
		d.add(401,4,'回帖管理','topicpost/postmanage/postManageQueryPage.jsp', '', target);


		d.add(5,0,'用户综合管理');
		d.add(500,5,'用户管理','usermanage/usermanage/userManageQueryPage.jsp', '', target);

		d.add(6,0,'系统设置管理');
		d.add(600,6,'公告管理','bulletin/bulletinmanage/bulletinManageUpdatePage.jsp', '', target);
		
		document.write(d);
		d.openAll()
		//-->
	</script>
	</body>
</html>

